Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event prices #373

Merged
merged 2 commits into from
Dec 11, 2023
Merged

Event prices #373

merged 2 commits into from
Dec 11, 2023

Conversation

kasperg
Copy link
Contributor

@kasperg kasperg commented Dec 10, 2023

Link to issue

https://reload.atlassian.net/browse/DDFFORM-57

Description

This PR adds support for displaying prices for events. Prices are shown next to descriptions.

An important part of the handling is the support of multiple categories and prices. Instead of adding each category as a separate entry they now get a single price entry containing each of the categories. This makes sense - especially when you look at the mobile view.

To prevent categories from wrapping a new modifier is added to the list-description block.

Screenshot of the result

 Event page - Default ⋅ Storybook 2023-12-10 21-33-55

This is needed to support display of prices.

In storybook we control this using a new layout attribute. List data
with column layout gets this new class.

Update list description data with a priuce example which uses this new
layout.

DDFFORM-57
Instead of each category/price being an entry they are instead grouped
under the price entry.

To prevent multiple elements from wrapping we use the new column layout.

DDFFORM-57
@rasben rasben removed their assignment Dec 11, 2023
@kasperg kasperg merged commit 13db704 into release/2023-51-0 Dec 11, 2023
9 checks passed
@kasperg kasperg deleted the event-price branch December 11, 2023 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants